package com.leadingsoft.pwxk.model;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: lipan 2018年5月7日
 * @description: ( 水污染物排放信息-排放口信息)
 * 
 */

@Entity
@Getter
@Setter
public class WaterDrain extends Basic{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 废水直接排放口基本情况表list集合 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "DIRECTLIST")
	private List<WaterDrainBaseInfoOne> directList;
	/** 废水间接排放口基本情况list集合 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "INDIRECTLIST")
	private List<WaterDrainBaseInfoTwo> inDirectList;

	/** 废水间接排放口基本情况 — 污染物list集合 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "FSPFKZB")
	private List<WaterDrainInfoPu> wrwList;
	/** 废水污染物排放执行标准表list集合 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "FSWRWBZLIST")
	private List<WaterNorm> waterNorm;

	// ---- （氮肥行业、石化行业特有表单） ---
	/**
	 * RAINLIST 雨水排放口基本情况表list集合
	 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "RAINLIST")
	private List<WaterDrainBaseInfoThr> rainList;

}
